package com.huazi.educms.service;

import com.huazi.educms.entity.CrmBanner;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author huazi
 * @since 2021-03-25
 */
public interface CrmBannerService extends IService<CrmBanner> {
    boolean addBannerAdmin(CrmBanner banner);
    boolean modBannerAdmin(CrmBanner banner);
    boolean deleteBannerAdmin(String id);
    List<CrmBanner> getBannerAdmins();
    CrmBanner getBannerAdminOne(String id);
    List<CrmBanner> getBannerFroms();
}
